import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../view/HomeView.vue';
import  about from '../view/HelloWorld.vue';
import  list from '../view/list.vue';

 export const routes = [ 
	 {path: "/", name: "HomeView", component:HomeView}, 
	 {path: "/about", name: "about", component: about},
	 {path: "/list", name: "list", component: list},
	 // {path: "*",  r
     // edirect: "/"}
 ] 
 
// console.log(routes);
 
const router = createRouter({
  history: createWebHashHistory(),
  routes
});
 
export default router;